﻿using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using System;
using System.Data.SqlTypes;

namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]
    [Serializable]
    public class t_smd_Summary : DataObject
    {
        [ID]
        [Column]
        [IDENTITY]
        public int SummaryId { get { return fSummaryId; } set { fSummaryId = value; EntityState.FieldChange("SummaryId"); } } private int fSummaryId; public static FieldInfo _SummaryId = new FieldInfo("t_smd_Summary", "SummaryId");
        [Column]
        public string ColumnName { get { return fColumnName; } set { fColumnName = value; EntityState.FieldChange("ColumnName"); } } private string fColumnName; public static FieldInfo _ColumnName = new FieldInfo("t_smd_Summary", "ColumnName");
        [Column]
        public string RowName { get { return fRowName; } set { fRowName = value; EntityState.FieldChange("RowName"); } } private string fRowName; public static FieldInfo _RowName = new FieldInfo("t_smd_Summary", "RowName");
        [Column]
        public string ReportType { get { return fReportType; } set { fReportType = value; EntityState.FieldChange("ReportType"); } } private string fReportType; public static FieldInfo _ReportType = new FieldInfo("t_smd_Summary", "ReportType");
        [Column]
        public int Year { get { return fYear; } set { fYear = value; EntityState.FieldChange("Year"); } } private int fYear; public static FieldInfo _Year = new FieldInfo("t_smd_Summary", "Year");
        [Column]
        public int Value { get { return fValue; } set { fValue = value; EntityState.FieldChange("Value"); } } private int fValue; public static FieldInfo _Value = new FieldInfo("t_smd_Summary", "Value");
    }
}